@charset'utf-8';
@import'theme';
@import'color';
@import'model-beta';
@import'common';
html, body {
    width: 100%;
    min-height: 100%;
    font-size: 13px;
}
* {
    margin: 0 auto;
    font-size: 13px;
    font-family: 'icomoon', "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif!important;
}
a {
    text-decoration: none;
    cursor: pointer;
}
.blockbanner {
    height: 25px;
}
.floatbanner {
    z-index: 999;
    position: fixed;
    top: 0;
    height: 25px;
    width: 100%;
    line-height: 25px;
    background-color: $themeColor;
    .item {
        a {
            color: $fontColor;
            margin-left: 0.5rem;
            margin-right: 0.5rem;
        }
        width: 50%;
        display: inline-block;
        &.right {
            a {
                margin-left: 1rem;
            }
            text-align: right;
        }
    }
}
.body {
    width: 100%;
    background-color: rgba($white, 0.3);
}
._top {
    width: 100%;
    background-color: rgba($white, 0.7);
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid $grayLighter;
    .logo {
        padding: 0.5rem 0;
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }
    .searchbox {
        width: 75%;
        line-height: 20px;
        padding: 0.1rem;
        color: $silver;
        background-color: $white;
        border-radius: 10px;
        border: 1px solid $grayLighter;
        margin: 0 auto;
        .searchtext {
            line-height: 13px;
            width: 85%;
            padding: 0;
            border: 0;
            height: 20px;
            outline: none;
            color: $silver;
            background-color: rgba($white, 0);
        }
        .icon-search {
            outline: none;
            padding: 0;
            color: $silver;
            border: 0;
            background-color: $white;
        }
    }
    .listbar {
        width: 100%;
        margin-top: 1rem;
        .listitem {
            width: 20%;
            display: inline-block;
            vertical-align: top;
            button {
                outline: none;
                border: 0;
                width: 55px;
                height: 55px;
                padding: 10px;
                border-radius: 50%;
                background-color: $themeColor;
                color: $fontColor;
            }
        }
    }
}
._main {
    width: 96%;
    padding: 2%;
    .maingoods {
        width: 100%;
        background-color: rgba($white, 0.5);
        margin-bottom: 1.5rem;
        .goodsimg {
            width: 100%;
            overflow: hidden;
            img {
                width: 100%;
            }
        }
        .goodsinfo {
            width: 100%;
            .infoitem {
                line-height: 1.5rem;
                padding: 0.3rem 0.5rem;
                @include newLine;
                .name {
                    color: $black;
                }
                .intro {
                    color: $silver;
                }
                .price {
                    font-size: 15px;
                    color: $red;
                }
                .btn {
                    padding: 0 1.5rem;
                    position: relative;
                    right: 0;
                    height: 2.5rem;
                    line-height: 2.5rem;
                    border: 0;
                    background-color: $themeColor;
                    color: $fontColor;
                }
                .item {
                    width: 50%;
                    display: inline-block;
                    &.right {
                        text-align: right;
                    }
                }
                .lastitem {
                    padding: 0.5rem 0;
                    width: 50%;
                    text-align: center;
                    display: inline-block;
                    vertical-align: top;
                    .icon-bubbles, .icon-star {
                        margin-right: 0.5rem;
                    }
                }
            }
        }
    }
}
.goods_details {
    width: 100%;
    .goodsimg {
        width: 100%;
        overflow: hidden;
        padding-bottom: 1.5rem;
        .bigbox {
            position: relative;
            background-color: rgba($white, 0.5);
            width: 100%;
            overflow: hidden;
            .movebox {
                width: 100%;
                position: relative;
                @include breakLine;
                .bigimg {
                    width: 100%;
                    display: inline-block;
                    vertical-align: top;
                }
            }
            .pricebox {
                position: absolute;
                height: 50px;
                width: 96%;
                padding: 0 2%;
                background-color: rgba($grayLight, 0.5);
                color: $white;
                bottom: 0;
                line-height: 50px;
                .itemleft {
                    font-size: 20px;
                    color: $red;
                    display: inline-block;
                    width: 50%;
                }
                .itemright {
                    display: inline-block;
                    width: 50%;
                    text-align: right;
                }
            }
        }
        .smallbox {
            width: 100%;
            margin-top: 20px;
            .smallimg {
                margin-right: 10px;
            }
        }
    }
    .goodsinfo {
        width: 96%;
        padding: 1rem 2%;
        background-color: rgba($white, 0.7);
        .titlebar {
            font-size: 18px;
            margin-bottom: 10px;
        }
        @include hr($silver, 100%);
        .intro {
            color: $gray;
            line-height: 20px;
        }
        .saleinfo {
            width: 100%;
            .item {
                width: 50%;
                display: inline-block;
            }
        }
    }
    .bottomblock {
        height: 60px;
        width: 100%;
    }
    .floatbtnbox {
        width: 96%;
        padding: 1rem 2%;
        position: fixed;
        z-index: 998;
        bottom: 0;
        text-align: center;
        background-color: $white;
        .btn {
            padding: 0.5rem 1.5rem;
            margin: 0 0.5rem;
            border: 0;
            background-color: $themeColor;
            color: $fontColor;
        }
    }
}
.goods_list {
    widows: 100%;
    padding: 0.5rem 0;
    .goods_item {
        width: 96%;
        padding: 0.5rem 2%;
        background-color: rgba($white, 0.5);
        margin: 0.2rem 0;
        .goodsimg {
            display: inline-block;
            vertical-align: top;
            width: 100px;
            height: 100px;
            img {
                width: 100px;
                height: 100px;
            }
        }
        .goodsinfo {
            display: inline-block;
            vertical-align: top;
            padding-left: 2%;
            .infoitem {
                line-height: 25px;
                @include Line(2);
                .name, .num {
                    color: $gray;
                }
                .price {
                    font-size: 16px;
                    color: $red;
                }
            }
        }
    }
}
.register {
    width: 96%;
    padding: 0.5rem 2%;
    margin: 0.5rem auto;
    background-color: rgba($white, 0.5);
    @include breakLine();
    .first{
        width: 100%;
        display: inline-block;
        vertical-align: top;
        @include comic_1(0.3,0);
        margin-left: 0;
        @include BgTransparentAll(100,1);
        &.focus{
            @include BgTransparentAll(0,0);
            margin-left: -100%;
        }
    }
    .second{
        width: 100%;
        display: inline-block;
        vertical-align: top;
        @include comic_1(0.3,0);
        @include BgTransparentAll(0,0);
        &.focus{
            @include BgTransparentAll(100,1);
        }
    }
    .username, .password,.code {
        display: block;
        width: 96%;
        padding: 0 1%;
        margin: 0.5rem auto;
        height: 2.5rem;
        border: 1px solid $grayLight;
        color: $silver;
    }
    .codebtn{
        width: 35%;
        height: 2.5rem;
        background-color: $themeColor;
        color: $fontColor;
        padding: 0;
        border: 0;
        position: absolute;
        top: 48px;
        right: 1%;
    }
    .btn {
        border-radius: 0.2rem;
        display: block;
        width: 98%;
        height: 2.5rem;
        margin: 0.5rem auto;
        background-color: $themeColor;
        color: $fontColor;
        border: 0;
    }
    .text{
        padding-bottom: 1rem;
        margin-top: 1rem;
        width: 94%;
        .item{
            width: 50%;
            display: inline-block;
            &.right{
                text-align: right;
            }
            a{
                color: $black;
                text-decoration: underline;
            }
        }
    }
}
